<template>
  <div id="subapp-container"></div>
</template>

<script setup>
// 子应用容器组件
// qiankun 将会自动把子应用的内容挂载到 id 为 subapp-container 的元素中
import { start } from "qiankun";
import { onMounted } from "vue";

onMounted(() => {
  start({
    prefetch: false,
    sandbox: {
      experimentalStyleIsolation: true,
    },
  });
});
</script>

<style scoped>
#subapp-container {
  height: 100%;
}
</style>
